package com.sta.oldman.controller;

import com.sta.oldman.coder.TcpMsg;
import com.sta.oldman.common.ResponseVO;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author: LunBoWang
 * @description: TODO
 * @date: 2025/7/15 下午9:00
 * @version: 1.0
 */
@RestController
@RequestMapping("/message")
public class MessageController {

    @RequestMapping("/send")
    public ResponseVO sendMessage(@RequestBody TcpMsg tcpMsg){
        return ResponseVO.successResponse(tcpMsg);
    }
}
